package org.jeecg.modules.thirdpartyapi.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.jeecg.modules.thirdpartyapi.dao.PullDao;

import java.util.Map;

/**
 * 常见的映射器
 *
 * @author zhanglei01
 * @date 2022/03/08
 */
@Mapper
public interface CommonMapper {

    /**
     * 提取数据的更新
     *
     * @param page 分页
     * @param dao  刀
     * @return {@link IPage}<{@link Map}<{@link String}, {@link Object}>>
     */
    IPage<Map<String, Object>> pullDataByUpdate(Page page, PullDao dao);

}
